import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { UserModule } from '../user/user.module'
import { Subscribe } from './entities/subscribe.entity'
import { SubscribeController, WebSubscribeController } from './subscribe.controller'
import { SubscribeService } from './subscribe.service'

@Module({
  imports: [TypeOrmModule.forFeature([Subscribe]), UserModule],
  controllers: [SubscribeController, WebSubscribeController],
  providers: [SubscribeService],
  exports: [SubscribeService],
})
export class SubscribeModule {}
